body {
	font: 1em/150% Arial, Helvetica, sans-serif;
  margin:0;
}
a {
	color: #669;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
h1 {
	font: bold 36px/100% Arial, Helvetica, sans-serif;
}
table {
  width: 50%;
  margin: 0 auto 20px auto;
}
/*Fuel cost table*/
.tg-table-light { border-collapse: collapse; border-spacing: 0; }
.tg-table-light td, .tg-table-light th { background-color: #fff; border: 1px #bbb solid; color: #333; font-family: sans-serif; font-size: 100%; padding: 10px; vertical-align: top; }
.tg-table-light .tg-even td  { background-color: #eee; }
.tg-table-light th  { background-color: #ddd; color: #333; font-size: 110%; font-weight: bold; }
.tg-table-light tr:hover td, .tg-table-light tr.even:hover td  { color: #222; background-color: #FCFBE3; }
.tg-bf { font-weight: bold; } .tg-it { font-style: italic; }
.tg-left { text-align: left; } .tg-right { text-align: right; } .tg-center { text-align: center; }

/************************************************************************************
FORM
*************************************************************************************/

.contact_form h2 {
  font-family: Georgia, Times, "Times New Roman", serif;
}

.form_hint, .required_notification {
  font-size: 11px;
}

.form_hint {
  background: #d45252;
  border-radius: 3px 3px 3px 3px;
  color: white;
  margin-left: 8px;
  padding: 1px 6px;
  z-index: 999; /* hints stay above all other elements */
  position: absolute; /* allows proper formatting if hint is two lines */
  display: none;
}

.form_hint::before {
    content: "\25C0"; /* left point triangle in escaped unicode */
    color:#d45252;
    position: absolute;
    top:1px;
    left:-6px;
}

.contact_form input:focus + .form_hint {display: inline;}
.contact_form input:required:valid + .form_hint {background: #28921f;} /* change form hint color when valid */
.contact_form input:required:valid + .form_hint::before {color:#28921f;} /* change form hint arrow color when valid */

.contact_form ul {
  width: 100%;
  list-style-type: none;
  list-style-position: outside;
  margin: 0px;
  padding: 0px;
}

.contact_form li {
  padding: 5px;
  position: relative;
}
.gas-price input {
  border-radius: 5px;
  height: 10%;
  width: 110px;
  padding: 5px 8px;
  box-shadow: inset 0 10px 10px -10px #999;
}

input:required {
  background: #fff url(../img/red_asterisk.png) no-repeat 98% center;
}

.contact_form input:focus:invalid {
  /* when a field is considered invalid by the browser */
  background: #fff url(../img/invalid.png) no-repeat 98% center;
  box-shadow: 0 0 5px #d45252;
  border-color: #b03535
}

.contact_form input:required:valid, .contact_form textarea:required:valid {
  /* when a field is considered valid by the browser */
  background: #fff url(../img/valid.png) no-repeat 98% center;
  box-shadow: 0 0 5px #5cd053;
  border-color: #28921f;
}

/* Button Style */
#result_4 .submit {
  background-color: #68b12f;
  background: -webkit-gradient(linear, left top, left bottom, from(#68b12f), to(#50911e));
  background: -webkit-linear-gradient(top, #68b12f, #50911e);
  background: -moz-linear-gradient(top, #68b12f, #50911e);
  background: -ms-linear-gradient(top, #68b12f, #50911e);
  background: -o-linear-gradient(top, #68b12f, #50911e);
  background: linear-gradient(top, #68b12f, #50911e);
  border: 1px solid #509111;
  border-bottom: 1px solid #5b992b;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  box-shadow: inset 0 1px 0 0 #9fd574;
  -webkit-box-shadow: 0 1px 0 0 #9fd574 inset;
  -moz-box-shadow: 0 1px 0 0 #9fd574 inset;
  -ms-box-shadow: 0 1px 0 0 #9fd574 inset;
  -o-box-shadow: 0 1px 0 0 #9fd574 inset;
  color: white;
  font-weight: bold;
  text-align: center;
  text-shadow: 0 -1px 0 #396715;
  width: 100px;
  padding: 5px;
}

.submit:hover {
  opacity: .85;
  cursor: pointer;
}

.submit:active {
  border: 1px solid #20911e;
  box-shadow: 0 0 10px 5px #356b0b inset;
  -webkit-box-shadow: 0 0 10px 5px #356b0b inset;
  -moz-box-shadow: 0 0 10px 5px #356b0b inset;
  -ms-box-shadow: 0 0 10px 5px #356b0b inset;
  -o-box-shadow: 0 0 10px 5px #356b0b inset;
}

#wait_1, #result_1 {
  display: none;
}

#wait_2, #result_2 {
  display: none;
}

#wait_3, #result_3 {
  display: none;
}
#wait_4, #result_4 {
  display: none;
}

/************************************************************************************
STRUCTURE
*************************************************************************************/
#pagewrap {
	/*padding: 5px;*/
	width: 100%;
	/*margin: 20px auto;*/
}
#header {
	height: 150px;
  background-color: #ebc12a;
  padding: 0 0 0 40%;
}
.page-title {
  padding: 0 0 0 20px;
}
#left-sidebar {
  width: 100%;
  float: left;
  text-align: center;
  margin-bottom: 5px;
}
#left-sidebar span{
  padding: 0 20px 0 0;
}
#content {
	width: 100%;
	float: left;
  padding: 0 0 0 0;
  text-align: center;
}
#sidebar {
  display: none;
}
#footer {
	clear: both;
  color: #FFFFFF;
  background: #292929;
  text-align: center;
}
.top-price-left {
  float: left;
}
.top-price-middle {
  float: left;
}
.top-price-right {
  float: left;
}
.price-value {
  /*float: left;*/
  border: 1px solid;
  padding: 2px 5px;
  position: relative;
  left: -60px;
  top: 25px;
  background-color: #ffffff;
  background: -webkit-gradient(linear, left top, left bottom, from(#E5E4E2), to(#BCC6CC));
  background: -webkit-linear-gradient(top, #E5E4E2, #BCC6CC);
  background: -moz-linear-gradient(top, #E5E4E2, #BCC6CC);
  background: -ms-linear-gradient(top, #E5E4E2, #BCC6CC);
  background: -o-linear-gradient(top, #E5E4E2, #BCC6CC);
  background: linear-gradient(top, #E5E4E2, #BCC6CC);

}

.vehicle-title {
  border: solid 1px #bbb;
  width: 50%;
  margin: 20px auto 0 auto;
  padding: 10px 0;
  -webkit-border-top-left-radius: 4px;
  -webkit-border-top-right-radius: 4px;
  -moz-border-radius-topleft: 4px;
  -moz-border-radius-topright: 4px;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  background-color: #ffffff;
  background: -webkit-gradient(linear, left top, left bottom, from(#E5E4E2), to(#BCC6CC));
  background: -webkit-linear-gradient(top, #E5E4E2, #BCC6CC);
  background: -moz-linear-gradient(top, #E5E4E2, #BCC6CC);
  background: -ms-linear-gradient(top, #E5E4E2, #BCC6CC);
  background: -o-linear-gradient(top, #E5E4E2, #BCC6CC);
  background: linear-gradient(top, #E5E4E2, #BCC6CC);
}

.vehicle-detail {
  border: solid 1px #bbb;
  width: 50%;
  margin: 0 auto 20px auto;
  padding: 10px 0;
}

/************************************************************************************
MEDIA QUERIES
*************************************************************************************/
/* for 980px or less */
@media screen and (max-width: 980px) {

	#pagewrap {
		width: 100%;
	}
  #header {
    padding: 0 0 0 40%;
  }
	#content {
	}
	#sidebar {
		width: 30%;
	}
  table {
    width: 100%;
  }

}

/* for 700px or less */
@media screen and (max-width: 700px) {
  #header {
    padding: 0 0 0 10px;
  }
  .page-title {
    padding: 0;
  }
  #left-sidebar {
    font-size: 90%;
    text-align: left;
    padding: 0 0 0 10px;
  }

	#content {
		width: auto;
		float: none;
	}
	#sidebar {
		width: auto;
		float: none;
	}

}

/* for 480px or less */
@media screen and (max-width: 480px) {

	/*#header {*/
		/*height: auto;*/
	/*}*/
	h1 {
		font-size: 24px;
	}
  #left-sidebar{
    display: none;
  }
	#sidebar {
		display: none;
	}
  .gas-price input {
    width: 110px;
  }
  .tg-table-light td, .tg-table-light th {
    font-size: 80%;
  }

}

#content {
	background: #f8f8f8;
}
#sidebar, #left-sidebar {
	background: #f0efef;
}
#header, #content, #sidebar , #left-sidebar {
	margin-bottom: 5px;
}
#pagewrap, #header, #left-sidebar, #content, #sidebar, #footer {
	border: solid 1px #ccc;
}
